Salesforce UX API
TMF-639 DELETE Delete Device (Akamai)
CASE 1 Unitary Test
Delete Device in Akamai system
URL
http://[host]:[port]/sfdc-ux/v1/{businessId}/resourceurl Param
| name | type | description | required | 
|---|---|---|---|
| businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y | 
| id | string | IMEI Number of the Device | Y | 
Header
| name | type | description | required | 
|---|---|---|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y | 
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y | 
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server.  Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.  | Y | 
| operation | string | Describes type of operation. In this case "deviceAkamai" | Y | 
| X-Asavie-Account-Id | string | Id of the account to operate in | Y | 
cURL request
curl --location --request DELETE 'https://nonprod.esb.cloud.lla.com/dev/sfdc-ux/sfdc-ux/v1/PR/resource/554566' \
--header 'X-Correlation-Id: test1234' \
--header 'client_id: abcde' \
--header 'client_secret: 12345' \
--header 'operation: deviceAkamai' \
--header 'X-Asavie-Account-Id: sdf-sdf-sdf-sdf544'Response - 204